<?xml version="1.0" encoding="UTF-8" ?>
<?oracle-xsl-mapper
  <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
  <mapSources>
    <source type="WSDL">
      <schema location="../../../SOA%20-%2007-06-13/swObtenerPersona/obtenerPersonaDA.wsdl"/>
      <rootElement name="Sic1PersCollection" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/obtenerPersonaDA"/>
    </source>
  </mapSources>
  <mapTargets>
    <target type="WSDL">
      <schema location="../../../SOA%20-%2007-06-13/swObtenerPersona/swObtenerPersona.wsdl"/>
      <rootElement name="OBTENERPERSONAMR" namespace="http://mincetur.gob.pe/SIC/persona/obtenerPersona"/>
    </target>
  </mapTargets>
  <!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.6.0(build 111214.0600.1553) AT [TUE JUL 09 11:28:58 COT 2013]. -->
?>
<xsl:stylesheet version="1.0"
                xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
                xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
                xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:ns0="http://mincetur.gob.pe/SIC/persona/swObtenerPersona"
                xmlns:inp1="http://mincetur.gob.pe/SIC/persona/obtenerPersona"
                xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
                xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ora="http://schemas.oracle.com/xpath/extension"
                xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
                xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
                xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
                xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
                xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
                xmlns:med="http://schemas.oracle.com/mediator/xpath"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/Servicios+Web/swObtenerPersona/obtenerPersonaDA"
                xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
                xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
                xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
                xmlns:ns1="http://mincetur.gob.pe/SIC/persona/personaTipo"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/obtenerPersonaDA"
                xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
                exclude-result-prefixes="xsi xsl plt wsdl tns xsd top ns0 inp1 ns1 xp20 bpws bpel bpm ora socket mhdr oraext dvm hwf med ids xdk xref ldap">
  <xsl:template match="/">
    <inp1:OBTENERPERSONAMR>
      <inp1:PERSONA>
        <xsl:attribute name="ID_PERS">
          <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:idPers"/>
        </xsl:attribute>
        <xsl:attribute name="DES_PERS">
          <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:desPers"/>
        </xsl:attribute>
        <xsl:attribute name="DES_TELFFIJO">
          <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:viSicpers/top:telefijo"/>
        </xsl:attribute>
        <xsl:attribute name="DES_TELFCELULAR">
          <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:viSicpers/top:telecelular"/>
        </xsl:attribute>
        <xsl:attribute name="DES_TELFFAX">
          <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:viSicpers/top:telefax"/>
        </xsl:attribute>
        <xsl:attribute name="DES_CORREO">
          <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:viSicpers/top:mail"/>
        </xsl:attribute>
        <xsl:attribute name="DES_UBIGEO">
          <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:viSicpers/top:desUbigeo"/>
        </xsl:attribute>
        <xsl:attribute name="DES_VIA">
          <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:viSicpers/top:desVia"/>
        </xsl:attribute>
        <xsl:attribute name="DES_ZONA">
          <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:viSicpers/top:desZona"/>
        </xsl:attribute>
        <xsl:attribute name="DES_DIRECCION">
          <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:viSicpers/top:desDire"/>
        </xsl:attribute>
        <ns1:TIPO_PERSONA>
          <xsl:attribute name="ID_TIPOPERS">
            <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:idTipopers"/>
          </xsl:attribute>
          <ns1:PERSONA_NATURAL>
            <xsl:attribute name="DES_PRIMNOMB">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1Persindi/top:desPrimnomb"/>
            </xsl:attribute>
            <xsl:attribute name="DES_SEGUNOMB">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1Persindi/top:desSegunomb"/>
            </xsl:attribute>
            <xsl:attribute name="DES_APELPATE">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1Persindi/top:desApelpate"/>
            </xsl:attribute>
            <xsl:attribute name="DES_APELMATE">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1Persindi/top:desApelmate"/>
            </xsl:attribute>
            <xsl:attribute name="FEC_NACI">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1Persindi/top:fecNaci"/>
            </xsl:attribute>
            <xsl:attribute name="ID_GENERO">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1Persindi/top:idGenero"/>
            </xsl:attribute>
          </ns1:PERSONA_NATURAL>
          <ns1:PERSONA_JURIDICA>
            <xsl:attribute name="DES_NOMBCOME">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1Persorga/top:desNombcome"/>
            </xsl:attribute>
            <xsl:attribute name="DES_PERSORGA">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1Persorga/top:desPersorga"/>
            </xsl:attribute>
            <xsl:attribute name="DES_GRUPEMPR">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1Persorga/top:desGrupempr"/>
            </xsl:attribute>
            <xsl:attribute name="ID_TIPOEMPR">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1Persorga/top:idTipoempr"/>
            </xsl:attribute>
            <xsl:attribute name="ID_TIPOORGA">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1Persorga/top:idTipoorga"/>
            </xsl:attribute>
          </ns1:PERSONA_JURIDICA>
        </ns1:TIPO_PERSONA>
        <ns1:DOCUMENTOSIDENTIFICACION>
          <ns1:DOCUMENTOIDENTIFICACION>
            <xsl:attribute name="ID_TIPOIDEN">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1IdenpersCollection/top:Sic1Idenpers/top:viSictipoiden/top:idTipoiden"/>
            </xsl:attribute>
            <xsl:attribute name="DES_TIPOIDEN">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1IdenpersCollection/top:Sic1Idenpers/top:viSictipoiden/top:desTipoiden"/>
            </xsl:attribute>
            <xsl:attribute name="COD_IDEN">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:sic1IdenpersCollection/top:Sic1Idenpers/top:codIden"/>
            </xsl:attribute>
          </ns1:DOCUMENTOIDENTIFICACION>
        </ns1:DOCUMENTOSIDENTIFICACION>
        <ns1:ROLES>
          <ns1:ROLPERSONA>
            <xsl:attribute name="ID_TROLPERS">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:viSicpersrolCollection/top:ViSicpersrol/top:idTrolpers"/>
            </xsl:attribute>
            <xsl:attribute name="DES_TROLPERS">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:viSicpersrolCollection/top:ViSicpersrol/top:desTrolpers"/>
            </xsl:attribute>
            <xsl:attribute name="COD_TROLPERS">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:viSicpersrolCollection/top:ViSicpersrol/top:codTrolpers"/>
            </xsl:attribute>
            <xsl:attribute name="DES_NOTAS">
              <xsl:value-of select="/top:Sic1PersCollection/top:Sic1Pers/top:viSicpersrolCollection/top:ViSicpersrol/top:desNotas"/>
            </xsl:attribute>
          </ns1:ROLPERSONA>
        </ns1:ROLES>
      </inp1:PERSONA>
    </inp1:OBTENERPERSONAMR>
  </xsl:template>
</xsl:stylesheet>
